<?php

/**
 * Pluginetatdossier form.
 *
 * @package    ##PROJECT_NAME##
 * @subpackage form
 * @author     ##AUTHOR_NAME##
 * @version    SVN: $Id: sfDoctrineFormPluginTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
abstract class PluginetatdossierForm extends BaseetatdossierForm
{
	public function setup(){
		parent::setup();
		$webdir = sfConfig::get('sf_web_dir').DIRECTORY_SEPARATOR.'web';
		$this->validatorSchema['icon32'] = new sfValidatorFile(array('required' => true,
		      'path' => $webdir.DIRECTORY_SEPARATOR.'images'.DIRECTORY_SEPARATOR.$this->objectDef->filesPathName.DIRECTORY_SEPARATOR.'32',
		      'mime_types' => 'web_images',
		     ));
	}
}
